{% extends "./space/base_space.html" %}
{% block title %}
秀图吧 - {{view_user.username}}的个人首页
{% endblock %}

{% block layoutmid %}

  <div class="row-fluid">

    <div class="span8 offset1">
        <p > <span class="label label-warning">{{view_user}}的图片 </span></p>

           <br/>

	<ul class="thumbnails">
	{% for o in self_photos %}
		<li class="thumbnail" style="width: 240px; height: 150px;">
            <div>
		    <a href="/photos/{{o.id}}/">
		    <img src="{{o.get_photo_url}}" alt="{{o.title}}"></a>
            <br>
            <a>浏览({{o.view_count}})</a> | <a>回复({{o.rep_count}})</a>
            </div>
		</li>
	{% endfor %}
	</ul>

	<div class="text-center"><a href="/space/tags/{{view_user.id}}/">更多&gt;&gt;</a></div>


</div>
       </div>
		
<!-- -->


<div class="row-fluid">
<div class="span8 offset1">
<br/>
<p ><span class="label label-info"> {{view_user}}的收藏</span> </p>
<br/>

	<ul class="thumbnails">
{% for o in collection_photos %}
    <li class="thumbnail" style="width: 240px; height: 150px;">
              <div>
        <a href="/photos/{{o.photo.id}}/">
        <img src="{{o.photo.get_photo_url}}" alt="{{o.photo.title}}"></a>
              <br>
              <a>浏览({{o.photo.view_count}})</a> | <a>回复({{o.photo.rep_count}})</a>
              </div>
    </li>	
{% endfor %}
	</ul>

	<div class="text-center"><a href="/space/collections/{{view_user.id}}/">更多&gt;&gt;</a></div>


</div>
</div>

{% endblock %}

